import {createRoute, dynamicWrapper} from '../../utils/core';

import QDataModel from "../Quality/QData/model";

const routesConfig = app => ({
  path: '/dashboard',
  title: '监控台',
  component: dynamicWrapper(app,
    [import("./model"), import("../Data/Detail/model"), import("../Data/DataValueStatistics/model"),
      import("../Hospital/HList/model"), import("../Data/Channel/model"), ...QDataModel, import("../Quality/QList/model")],
    () => import('./components'))
});

export default app => createRoute(app, routesConfig);

